package com.shiro.service;

import com.shiro.entity.Permission;

/**
 * 权限Service接口
 * <p>User: Zhang Kaitao
 * <p>Date: 14-1-28
 * <p>Version: 1.0
 */
public interface PermissionService {
	
	/**
	 * 创建权限
	 * @param permission 权限对象
	 * */
    public Permission createPermission(Permission permission);
    
    /**
     * 删除权限
     * @param permissionId 权限id
     * */
    public void deletePermission(Long permissionId);
}
